package top.lyjwn.todo.weinxin.mch.pay;

import top.lyjwn.todo.weinxin.data.mcg2022.jsapi.JsapiOrder;
import top.lyjwn.todo.weinxin.data.mcg2022.jsapi.JsapiOrderResult;
import top.lyjwn.todo.weinxin.data.mcg2022.jsapi.JsapiRefund;
import top.lyjwn.todo.weinxin.data.mcg2022.jsapi.JsapiRefundResult;

/**
 * 微信支付接口
 *
 * @author luoyujie
 *
 */
public interface JsapiPay {


	/**
	 * Jsapi下单
	 * @param jsapiOrder
	 * @return
	 */
	JsapiOrderResult jsapiOrderApi(JsapiOrder jsapiOrder);

	/**
	 * Jsapi申请退费
	 * @param jsapiRefund
	 * @return
	 */
	JsapiRefundResult JsapiRefundApi(JsapiRefund jsapiRefund);
}
